package com.hzcx.app.simplechat.ui.chat.contract;

import android.content.Context;

import com.hzcx.app.simplechat.base.IPresenter;
import com.hzcx.app.simplechat.base.IView;
import com.hzcx.app.simplechat.ui.chat.bean.ChatCollectBean;
import com.hzcx.app.simplechat.ui.chat.bean.ChatHistoryBean;

import java.util.List;

public interface ChatHistoryContract {

    interface View extends IView {
        void historyResult(List<ChatHistoryBean> data);
        void onFail();
    }

    interface Presenter extends IPresenter<View> {
        void getChatHistory(Context context, int id,String msgId,boolean isShow);
    }

}
